package com.clover.framework.annotation;

import com.clover.framework.constant.LogType;

import java.lang.annotation.*;

@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface Log {
  public abstract String title();

  /**
   * 实体名
   * @return
   */
  public abstract String entityName();

  /**
   * 主键名称
   * @return
   */
  public String keyName() default "key";

  public abstract LogType type();
}